<div class="wrapper-md">
	<form name="userForm" class="form-validation form-horizontal">
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.enableCaptcha"></label>
			</div>
			<div class="col-sm-4">
				<select class="form-control" name="sec_login_captcha" ng-model="vm.sec.sec_login_captcha">
					<option value="off" translate="common.no"></option>
					<option value="on" translate="common.yes"></option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.captchaTime"></label>
			</div>
			<div class="col-sm-4">
				<input type="text" class="form-control" ng-model="vm.sec.sec_captcha_timeout" 
					name="sec_captcha_timeout" ng-pattern="app.reg.integer"
					required minvalue="60" maxvalue="300" ng-maxlength="3" />
				<span class="help-block m-b-none" >{{app.getMessage('common.op.remind14',[60,300])}}</span>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.errorCount"></label>
			</div>
			<div class="col-sm-4">
				<input type="text" class="form-control" id="error_count" ng-model="vm.sec.sec_error_count" name="error_count" ng-pattern="app.reg.integer"
					required minvalue="1" maxvalue="100" ng-maxlength="3" />
				<span class="help-block m-b-none" >{{app.getMessage('common.op.remind14',[1,100])}}</span>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.lockedTime"></label>
			</div>
			<div class="col-sm-4">
				<input type="text" class="form-control" id="clear_time" ng-model="vm.sec.sec_locked_time" name="clear_time" ng-pattern="app.reg.integer"
					required minvalue="1" maxvalue="60" ng-maxlength="2" />
				<span class="help-block m-b-none">{{app.getMessage('common.op.remind14',[1,60])}}</span>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.pwdRepeateCount"></label>
			</div>
			<div class="col-sm-4">
				<select class="form-control" name="sec_pwd_not_repeat_count" ng-model="vm.sec.sec_pwd_not_repeat_count" 
						ng-options="count for count in vm.pwdNotRepeatCounts">
	</select>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.userPwdIndate"></label>
			</div>
			<div class="col-sm-4">
				<input type="text" class="form-control" id="user_pwd_indate" name="user_pwd_indate" ng-model="vm.sec.sec_pwd_indate"
					ng-pattern="app.reg.integer" required minvalue="8" maxvalue="90"
					maxlength="2" convert-to-number/>
				<span class="help-block m-b-none">{{app.getMessage('common.op.remind14',[8,90])}}</span>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.pwdExpireNoticeDays"></label>
			</div>
			<div class="col-sm-4">
				<input type="text" class="form-control" id="sec_pwd_notice_days" ng-model="vm.sec.sec_pwd_notice_days" name="sec_pwd_notice_days"
					ng-pattern="app.reg.integer" required minvalue="1" maxvalue="7" maxlength="2" convert-to-number/>
				<span class="help-block m-b-none">{{app.getMessage('common.op.remind14',[1,7])}}</span>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-3 control-label">
				<label translate="sysConfig.adminPwdExp"></label>
			</div>
			<div class="col-sm-4">
				<select class="form-control" name="sec_pwd_admin_exp" ng-model="vm.sec.sec_pwd_admin_exp">
					<option value="off" translate="common.no"></option>
					<option value="on" translate="common.yes"></option>
				</select>
			</div>
		</div>
		<div class="form-group col-sm-6 text-center">
			<button class="btn btn-primary m-r" ng-click="vm.secSubmit()" ng-disabled="userForm.$invalid" translate="common.confirm"></button>
			<button class="btn btn-default" ng-click="vm.reloadPage(1)" translate="common.cancel"></button>
		</div>
	</form>
</div>